package com.jddup.program.comparator.mysql;

import com.jddup.common.pojo.TableColumn;
import com.jddup.common.pojo.TableMeta;
import com.jddup.program.comparator.AddColumnDDLBuilder;
import org.apache.commons.lang3.StringUtils;

/**
 * mysql 新增字段DDL
 * Created by zhangzhenbin on 17-12-11.
 */
public class MysqlAddColumnDDLBuilderImpl implements AddColumnDDLBuilder,MysqlColumnSqlBuilder {
    private static final String SQL = "ALTER TABLE `{tableName}` ADD {tableColumn};";



    @Override
    public String getTemplateSQL() {
        return SQL;
    }



    @Override
    public String getQuote() {
        return "`";
    }
}
